package com.nus.fellowmark.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author Chen Ruoyi
 * @email chenruoyisz@gmail.com
 * @date 2023-09-03 20:18:08
 */
@Data
@TableName("grade_calculation_config")
public class GradeCalculationConfigEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer assignmentId;
	/**
	 * 0: not include participation marks
1: include
	 */
	private Integer includeParticipation;
	/**
	 * paticipation weights, final grade = ptc_weight * ptc + (1-ptc_weight) * avg_peer_grade
	 */
	private Double ptcWeight;
	/**
	 * 0: detect and remove outliers
1: include outliers

	 */
	private Integer includeOutliers;
	/**
	 * 0: exclude highest marks
1: include highest marks
	 */
	private Integer includeHighest;
	/**
	 * 0: exclude lowest marks
1: include lowest marks
	 */
	private Integer includeLowest;

}
